
class ToolsItem {
  String title;
  String iconUrl;
  String bizCode;
  String appRouteUrl;
  String categoryId; //业务线Id

  ToolsItem({this.title, this.iconUrl, this.bizCode, this.appRouteUrl});

  ToolsItem.fromJson(Map<String, dynamic> json) {    
    this.title = json['title'] ?? "";
    this.iconUrl = json['iconUrl'] ?? "";
    this.bizCode = json['bizCode'] ?? "";
    this.appRouteUrl = json['appRouteUrl'] ?? "";
    this.categoryId = json['categoryId'] ?? "";
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['iconUrl'] = this.iconUrl;
    data['bizCode'] = this.bizCode;
    data['appRouteUrl'] = this.appRouteUrl;
    data['categoryId'] = this.categoryId;
    return data;
  }

}
